package com.situ.ssm.user.dao;

import com.situ.ssm.base.dao.BaseDao;
import com.situ.ssm.user.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @Project :springssm
 * @Author : yun&bo
 * @Date 2020/12/17 11:12
 * @Version
 */
@Repository("userDao")
public interface UserDao extends BaseDao<User> {
    /**
     *
     * @param userCode 登入账号
     * @param userPass 登入密码
     * @return 返回用户
     */
    User userLogin(@Param("userCode") String userCode, @Param("userPass")String userPass);
}
